package com.stenio.fancat.domain.user;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.stenio.fancat.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_user_relationship")
public class UserRelationship extends BaseEntity {

    /** 序列化ID */
    private static final long serialVersionUID = 3866758901793003911L;

    /** 自增主键 */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("baby_id")
    private String babyId;
    @TableField("user_id")
    private String userId;
    @TableField("union_id")
    private String unionId;
    @TableField("open_id")
    private String openId;
    @TableField("icon")
    private String icon;
    @TableField("name")
    private String name;
    @TableField("phone")
    private String phone;
    @TableField("relationship")
    private Integer relationship;
    @TableField("invite_userId")
    private String inviteUserId;
    @TableField("state")
    private Integer state;

}
